package com.zuoye.zuoye6;

public class Suv extends Auto{
    static int small =4295;
    static int middle = 5070;
    static int big;

    public Suv() {
    }
    public Suv(String name, int length, double money) {
        super(name, length, money);
    }

    public int jude(){
        if (getLength()<4295){
            return small;
        }else if (getLength()<=5070&&getLength()>=4295){
            return middle;
        }else {
            return big;
        }
    }



}
